package com.chuanyang.driverh.response2.join;

import com.chuanyang.driverh.responseresult.Result;

import java.io.Serializable;
import java.util.List;

/**
 * Created by xupeixian on 2017/4/14.
 */

public class ResultFleetJoinList extends Result implements Serializable{


    /**
     * code : 100
     * data : {"data":[{"businessId":4,"dateEndSuffix":" 23:59:59","dateStartSuffix":" 00:00:00","driverId":1215,"image":"http://1212testbucket.oss-cn-shanghai.aliyuncs.com/DriverImage/9e7c3f1c-cf13-44f4-9b60-6763de99f3ef.png","phoneCall":"13795465282","plateNumber":"晋A0216","returned":0,"username":"137955465282","waybillNum":0}],"total":1,"totalPages":1}
     * resultId : 9f7c4c9d-59fe-4d02-9a2d-4770f83c05d2
     */

    private DataBeanX data;
    private String resultId;

    public DataBeanX getData() {
        return data;
    }

    public void setData(DataBeanX data) {
        this.data = data;
    }

    public String getResultId() {
        return resultId;
    }

    public void setResultId(String resultId) {
        this.resultId = resultId;
    }

    public static class DataBeanX {
        /**
         * data : [{"businessId":4,"dateEndSuffix":" 23:59:59","dateStartSuffix":" 00:00:00","driverId":1215,"image":"http://1212testbucket.oss-cn-shanghai.aliyuncs.com/DriverImage/9e7c3f1c-cf13-44f4-9b60-6763de99f3ef.png","phoneCall":"13795465282","plateNumber":"晋A0216","returned":0,"username":"137955465282","waybillNum":0}]
         * total : 1
         * totalPages : 1
         */

        private int total;
        private int totalPages;
        private List<DataBean> data;

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public int getTotalPages() {
            return totalPages;
        }

        public void setTotalPages(int totalPages) {
            this.totalPages = totalPages;
        }

        public List<DataBean> getData() {
            return data;
        }

        public void setData(List<DataBean> data) {
            this.data = data;
        }

        public static class DataBean {
            /**
             * businessId : 4
             * dateEndSuffix :  23:59:59
             * dateStartSuffix :  00:00:00
             * driverId : 1215
             * image : http://1212testbucket.oss-cn-shanghai.aliyuncs.com/DriverImage/9e7c3f1c-cf13-44f4-9b60-6763de99f3ef.png
             * phoneCall : 13795465282
             * plateNumber : 晋A0216
             * returned : 0
             * username : 137955465282
             * waybillNum : 0
             */

            private int businessId;
            private String dateEndSuffix;
            private String dateStartSuffix;
            private int driverId;
            private String image;
            private String phoneCall;
            private String plateNumber;
            private int returned;
            private String username;
            private int waybillNum;

            public int getBusinessId() {
                return businessId;
            }

            public void setBusinessId(int businessId) {
                this.businessId = businessId;
            }

            public String getDateEndSuffix() {
                return dateEndSuffix;
            }

            public void setDateEndSuffix(String dateEndSuffix) {
                this.dateEndSuffix = dateEndSuffix;
            }

            public String getDateStartSuffix() {
                return dateStartSuffix;
            }

            public void setDateStartSuffix(String dateStartSuffix) {
                this.dateStartSuffix = dateStartSuffix;
            }

            public int getDriverId() {
                return driverId;
            }

            public void setDriverId(int driverId) {
                this.driverId = driverId;
            }

            public String getImage() {
                return image;
            }

            public void setImage(String image) {
                this.image = image;
            }

            public String getPhoneCall() {
                return phoneCall;
            }

            public void setPhoneCall(String phoneCall) {
                this.phoneCall = phoneCall;
            }

            public String getPlateNumber() {
                return plateNumber;
            }

            public void setPlateNumber(String plateNumber) {
                this.plateNumber = plateNumber;
            }

            public int getReturned() {
                return returned;
            }

            public void setReturned(int returned) {
                this.returned = returned;
            }

            public String getUsername() {
                return username;
            }

            public void setUsername(String username) {
                this.username = username;
            }

            public int getWaybillNum() {
                return waybillNum;
            }

            public void setWaybillNum(int waybillNum) {
                this.waybillNum = waybillNum;
            }
        }
    }
}
